<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" href="../style/journal.css" type="text/css" />
<style type="text/css"><!--
.googleadsense {
	margin: 2px;
	padding: 0px;
//--></style><script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-65008-1";
urchinTracker();
</script><title>weird thing with nmake pugs</title>
</head>
<body>
<a href="index.html">Journal</a>(2005) | <a href="../blog/"><b>Blog</b></a>(2006) | <a href="http://www.fayland.org/cgi-bin/random_link.pl">RandomLink</a> | <a href="AboutFayland.html">WhoAmI</a> | <a href="LiveBookmark.html">LiveBookmark</a> | <a href="http://www.fayland.org/">HomePage</a>
<p><&lt;Previous: <a href="Synopsis1.html">Synopsis 1 / 纲要一</a>&nbsp;&nbsp;>>Next: <a href="Synopsis13.html">Synopsis 13: 重载</a></p>
<h1>weird thing with nmake pugs</h1>
<div class='content'>
<p>Category: <a href='Diary.html'>Diary</a> &nbsp; Keywords: <b>nmake pugs</b></p>I want to install the newest pugs.<br>
<a href='http://svn.openfoundry.org/pugs'>http://svn.openfoundry.org/pugs</a><br>
so I 'svn up', then 'perl Makefile.PL'. all is okay. but when i 'nmake test', it returns:
<pre>
cp lib/Perl6/Pugs.pm blib\lib\Perl6\Pugs.pm
NMAKE : fatal error U1052: file 'Makefile' not found
Stop.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2'
Stop.</pre>
But I can find the 'Makefile' file in the folder. and when I install other modules like 'HTML::Format', 'nmake test|install' is okay. "that's weird." Autrijus said.<br>
Then he told me several ways to make things going on. such as:
<ol>
<li>remove the C:\Program Files\Microsoft Visual Studio* from my path. (That doesn't work.)
<li>rename nmake.exe @ c:\usr\bin. (remain the same.)
<li>nmake /f Makefile || nmake /f c:\absolute\path\to\Makefile (no help)
</ol>
At last, Autrijus says:
<pre>
perl -Iutil -MPugsConfig -e "PugsConfig->write_config_module" > src\Config.hs
perl Makefile.PL -version
ghc --make -o pugs src/Main.hs -isrc
</pre>
I followed, and compiled the pugs v6.0.10.<br>
Thank God. but the nmake problem is still there. I'll talk with autrijus tomorrow.<br>
May good luck.<p>

u can find the talk at <a href='http://colabti.de/irclogger//irclogger_log/perl6?date=2005-03-08,Tue'>http://colabti.de/irclogger//irclogger_log/perl6?date=2005-03-08,Tue</a>

<h2>Add @ 2005/3/9</h2>
It's more weird. After i installed the parrot, use nmake twice. Then go to nmake pugs, it works.<br>
Oh, my God. just unbelievable.
</div>
<p><&lt;Previous: <a href="Synopsis1.html">Synopsis 1 / 纲要一</a>&nbsp;&nbsp;>>Next: <a href="Synopsis13.html">Synopsis 13: 重载</a></p>
<p><strong>Options:</strong> <a href='http://del.icio.us/post?title=weird%20thing%20with%20nmake%20pugs&url=http://www.fayland.org/journal/050308.html'>+Del.icio.us</a></p>
<strong>Related items</strong>
<ul><li><a href='Win32.html'>Perl in Win32</a> < <span class='digit'>2004-10-30 19:28:22</span> ></li><li><a href='050329.html'>Day [05.3.29] POD && Pugs</a> < <span class='digit'>2005-03-29 16:04:20</span> ></li><li><a href='050604.html'>fail to embed parrot in pugs(Resolved)</a> < <span class='digit'>2005-06-04 19:09:35</span> ></li></ul>
Created on <span class="digit">2005-03-08 23:53:21</span>, Last modified on <span class="digit">2005-05-20 23:51:37</span><br />
Copyright 2004-2005 All Rights Reserved. Powered by <a href="Eplanet.html">Eplanet</a> && <a href='http://catalyst.perl.org'>Catalyst</a> 5.62.
</body>
</html>